package com.novacloud.fresh.util;

/**
 * @param
 * @author <a href="mailto:huzhanjun@novacloud.com">huzj</a>
 * @version : 1.0
 * @date 2015-12-29 16:15
 */
public class RegexUtil {

    public static String getDomainName(String url) {
        return url.substring(url.indexOf("//") + 2, url.indexOf("/", 7));
    }
}
